package com.commerceE.dao.impl;

import java.util.List;

import com.commerceE.common.dao.GenericIBatisDaoImpl;
import com.commerceE.dao.CategoryDao;
import com.commerceE.domain.Category;

public class CategoryDaoImpl extends GenericIBatisDaoImpl<Category> implements
		CategoryDao {

	@Override
	public String getNAMESPACE() {
		return Category.class.getName();
	}

	public List<Category> getCategoryList(){
		return getSqlSession().selectList(getNAMESPACE() +".selectAll");
	}
}
